html,
body {
    background-color: #fff;
}

.search-box {
    position: relative;
    padding: 0.2rem 0.3rem;
}

.search-city {
    padding-left: 0.65rem;
    width: 6.25rem;
    height: 0.4rem;
    line-height: 0.4rem;
    font-size: 0.2rem;
    color: #999999;
    background-color: #fafafa;
    border-radius: 0.06rem;
}

.searchIcon-gray {
    display: block;
    width: 0.23rem;
    height: 0.24rem;
    background: url(../images/searchIcon-gary.png) no-repeat;
    background-size: 0.23rem 0.24rem;
    position: absolute;
    left: 0.5rem;
    top: 50%;
    margin-top: -0.12rem;
}

.myCity {
    position: relative;
    padding: 0 0.3rem 0.2rem;
}

.myCity::after,
.hotCity::after,
.cityName::after {
    position: absolute;
    content: " ";
    width: 100%;
    height: 1px;
    background-color: #eaeaea;
    left: 0;
    bottom: 0;
}

.tit,
.hotCity-tit {
    font-size: 0.24rem;
    color: #424242;
}

.tit {
    margin-bottom: 0.2rem;
}

.hotCity {
    position: relative;
}

.hotCity-tit {
    padding-left: 0.3rem;
}

.myCityName,
.hotCity-list {
    width: 1.9rem;
    height: 0.5rem;
    line-height: 0.5rem;
    border: 1px solid #eaeaea;
    box-sizing: border-box;
    font-size: 0.24rem;
    color: #424242;
    text-align: center;
}

.hotCity {
    padding: 0.2rem 0;
}

.hotCity-box {
    overflow: hidden;
}

.hotCity-list {
    float: left;
    margin: 0.3rem 0.3rem 0;
}

.allCity-tit {
    height: 0.78rem;
    line-height: 0.78rem;
    padding-left: 0.3rem;
    font-size: 0.24rem;
    color: #424242;
}

.code,
.cityName {
    padding-left: 0.3rem;
    font-size: 0.24rem;
    color: #424242;
}

.code {
    height: 0.55rem;
    line-height: 0.55rem;
    background-color: #fafafa;
}

.cityName {
    position: relative;
    height: 0.75rem;
    line-height: 0.75rem;
}

@media (-webkit-device-pixel-ratio: 1.5) {
    .myCity::after,
    .hotCity::after,
    .cityName::after {
        -webkit-transform: scaleY(.6666);
        -ms-transform: scaleY(.6666);
        -o-transform: scaleY(.6666);
        transform: scaleY(.6666);
    }
}

@media (-webkit-device-pixel-ratio: 2) {
    .myCity::after,
    .hotCity::after,
    .cityName::after {
        -webkit-transform: scaleY(.5);
        -ms-transform: scaleY(.5);
        -o-transform: scaleY(.5);
        transform: scaleY(.5);
    }
}

@media (-webkit-device-pixel-ratio: 3) {
    .myCity::after,
    .hotCity::after,
    .cityName::after {
        -webkit-transform: scaleY(.3333);
        -ms-transform: scaleY(.3333);
        -o-transform: scaleY(.3333);
        transform: scaleY(.3333);
    }
}